package com.dtt.company.department.model;

import com.dtt.company.util.PagerModel;

public class DepartmentModel extends PagerModel{

	private Integer id;
	private String code;
	private String name;
	private String phone;
	private Integer num;
	
	public DepartmentModel(String code) {
		super();
		this.code = code;
	}
	public DepartmentModel(String code, String name) {
		super();
		this.code = code;
		this.name = name;
	}
	public DepartmentModel() {
		super();
	}
	public DepartmentModel(String code, String name, String phone) {
		super();
		this.code = code;
		this.name = name;
		this.phone = phone;
	}
	@Override
	public String toString() {
		return "DepartmentModel [code=" + code + ", name=" + name + ", phone=" + phone + ", num=" + num + "]";
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code=code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name=name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone=phone;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num=num;
	}
}
